<%= content_for :no_foot, "no foot" %>
<style type="text/css">
.test{
    background-color: #0092ef;
}
.reg-form{
   background-color: #FFFFE0;
    margin: auto;
    width: 60%;
    min-height: 400px;

}

.registration-form{
    background-color: #FFFFE0;
    width: 40%;
    margin: auto;
    padding: 20px;
}
</style>
<div class="container-fluid">
 <div class="row">
   <div class="col-lg-12">
     <div class="registration-form">

       <%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: {class: "form-horizontal"}) do |f| %>



       <div class="form-group" style="">
         <label for="inputEmail3" class="col-sm-3 control-label">电子邮箱:</label>
         <div class="col-sm-9">
           <%= f.email_field :email, autofocus: true, class: "form-control", id: "inputEmail3", placeholder: "邮箱" %>
         </div>
       </div>



       <div class="form-group">
         <label for="inputPassword3" class="col-sm-3 control-label">密 码:</label>
         <div class="col-sm-9">
           <%= f.password_field :password, autocomplete: "off", class: 'form-control', id: 'inputPassword3', placeholder: '密码' %>
         </div>
       </div>
       <div class="form-group">
         <label for="inputPassword3" class="col-sm-3 control-label">密码重复:</label>
         <div class="col-sm-9">

           <%= f.password_field :password_confirmation, autocomplete: "off", class: 'form-control', id: 'inputPassword3', placeholder: '重复密码' %>

         </div>
       </div>


       <div class="form-group">
         <div class="col-sm-offset-5 col-sm-7">
           <button type="submit" class="btn btn-default">注册</button>
         </div>
       </div>

       <% end %>
   </div>
   </div>
 </div>
</div>